package com.hamu.pojo;

import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.util.List;

@Data
public class ArticleTag {
    @NotEmpty
    private Integer articleId;
    @NotEmpty
    private Integer tagId;
    private List<Tag> tags; // 新增字段，用于前端展示关联的标签
}